<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page isELIgnored="false"%>
<%@ include file="../common/taglibs.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>     

<title>调单申请</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link href="<s:url value="/css/a.css"/>" type="text/css"
	rel="stylesheet" />
<link href="<s:url value="/css/index.css"/>" type="text/css"
	rel="stylesheet" />


<script type="text/javascript"
	src="<c:url value="/js/jquery-1.3.2.js" />"></script>
<script type="text/javascript" src="<c:url value="/js/common.js" />"></script>
<script language="javascript" type="text/javascript"
	src="<c:url value="/js/My97DatePicker/WdatePicker.js"/>"></script>
<script type="text/javascript" src="/js/jquery-1.9.1.js"></script>
	<script type="text/javascript" src="/js/tabcontrol/TabPanel.js"></script>
<style type="text/css">
.fieldError {
	color: red;
	text-align: left;
}

.error {
	float: none;
	color: red;
	padding-left: .5em;
	vertical-align: top;
}

table th {
	font-weight: bolder;
	text-align: left;
	background-color: #5599FF;
}
</style>
<script type="text/javascript">
$(document).ready(
			function() {
      $("#sub").click(function(){ 
	    var end = $("#enddate").val();
	    if(end==''){
	       alert("请输入调单截止日期");
	         return false;
	    }else{
	        $("#queryUserForm").attr("action","<%=basePath%>/diaodan/diaodanapplyupdate.ct");
		   	$("#queryUserForm").submit();
	    
	    }
        
           		 });
   });
   
</script>

</head>

<body>
	
		<div class="subpage">
			
				<div class="user_title">
					<h2 class="headline-inquires">
						调单申请<br />
					</h2>
				</div>
				<s:form id="queryUserForm" action="/diaodan/diaodanapplyupdate.ct"  method="post"  theme="simple"  >
				<table width="100%" border="1" cellspacing="0" class="table">
					<tr>
						<td colspan="4" align="center">

							<h2 class="headline-inquires">
								调单信息<br />
								<span class="sub-title"></span>
							</h2>
						</td>
					</tr>
					<tr>
						<th colspan="4">调单详细信息</th>
					</tr>
					<tr>
						<td>商户号：</td>
						
						<td class="td_bg">
						<s:property value="#request.diaoDan.merchantno"/>
						</td>
					
						<td>商户名称：</td>
						<td class="td_bg"><s:property value="#request.diaoDan.merchantname"/></td>
						
					</tr>
					<tr>
						<td>交易账号：</td>
						<td class="td_bg">
						<s:property value="#request.diaoDan.accontno"/>
						 </td>
						 <td>交易金额：</td>
						<td class="td_bg">
						<page:amount amount="${request.diaoDan.transamt/100}"/>	元
						 </td>
						
					</tr>
					
					<tr>
						<td>交易日期：</td>
						
						<td class="td_bg"><s:property value="#request.diaoDan.transdate"/></td>
						<td>交易时间：</td>
						
						<td class="td_bg"><s:property value="#request.diaoDan.transtime"/></td>
						
					
					</tr>
					<tr>
						<td>终端号：</td>
						<td class="td_bg">
						<s:property value="#request.diaoDan.termid"/>
							
						 </td>
						<td>流水号：</td>
						
						<td class="td_bg"><s:property value="#request.diaoDan.termtrace"/></td>
					</tr>
					<tr>
						<td>系统参考号：</td>
						<td class="td_bg">
						<s:property value="#request.diaoDan.etstrace"/>
							
						 </td>
						<td>批次号：</td>
						
						<td class="td_bg"><s:property value="#request.diaoDan.period"/></td>
					</tr>
					<tr>
						
						
					</tr>
				
					<tr>
						
						<td>MCC：</td>
						
						<td class="td_bg"><s:property value="#request.diaoDan.mcc"/></td>
						<s:hidden name="merNo" value="%{#request.diaoDan.merchantno}"/>
						<s:hidden name="etstermId" value="%{#request.diaoDan.etstermId}"/>
						<s:hidden name="termtrace" value="%{#request.diaoDan.termtrace}"/>
						<s:hidden name="etsdate" value="%{#request.diaoDan.etsdate}"/>
						<s:hidden name="period" value="%{#request.diaoDan.period}"/>
						<s:hidden name="etstrace" value="%{#request.diaoDan.etstrace}"/>
						<s:hidden name="acountno" value="%{#request.diaoDan.accontno}"/>
					</tr>
				
					<tr>
						<td align="center" colspan="4"><input id="sub" type="button" value="确定" /> &nbsp;&nbsp; 
								<input type="reset"" value="取  消"/></td>
					</tr>
					
				</table>
			</s:form>
		</div>
	
</body>
</html>
